﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FortuneArterial.Site.Model.Site
{
    /// <summary>
    /// 页面信息
    /// </summary>
    [Table("s_PageGroup")]
    [DataPrefix("PG")]
    public class PageGroupInfo
        : BaseEntity
    {
        /// <summary>
        /// 父级ID
        /// </summary>
        [MaxLength(8)]
        public string ParentID { get; set; }

        /// <summary>
        /// 分组名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 分组图标
        /// </summary>
        [MaxLength(50)]
        public string Icon { get; set; }

        /// <summary>
        /// DOM事件
        /// </summary>
        /// <remarks>
        /// 用于修改该DOM节点，一般是新增一些数字提醒
        /// </remarks>
        [MaxLength(50)]
        public string EventName { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public string OrderNum { get; set; }
    }
}
